package com.onesports.intelligent.k12.polarlight.security;

import lombok.Getter;

/**
 * @author aj
 */
@Getter
public class AuthenticationAccessException extends RuntimeException {
    private Integer code;
    private String message;

    public AuthenticationAccessException() {
        super();
    }

    public AuthenticationAccessException(String message) {
        super(message);
    }

    public AuthenticationAccessException(String message, Throwable cause) {
        super(message, cause);
    }

    public AuthenticationAccessException(Throwable cause) {
        super(cause);
    }

    public AuthenticationAccessException(Integer code, String msg) {
        this.code = code;
        this.message = msg;
    }
}
